package com.chalk.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author xiaoqiang
 * @Description
 * @date 2019/4/2 12:27
 */
@Data
public class ItemDto {

    @ApiModelProperty(name = "keyWord", value = "关键字")
    private String keyWord;

    @ApiModelProperty(name = "memberId", value = "会员ID(猜你喜欢时传)")
    private String memberId;

    @ApiModelProperty(name = "itemIds", value = "猜你喜欢")
    private List<String> itemIds;

    @ApiModelProperty(name = "complex", value = "0:综合 1：销量 2：价格")
    private String complex;

    @ApiModelProperty(name = "complexType", value = "0:降序 1:升序")
    private String complexType;

    @ApiModelProperty(name = "brandId", value = "品牌")
    private String[] brandId;


    @ApiModelProperty(name = "minPrice", value = "最低价")
    private Double minPrice;

    @ApiModelProperty(name = "maxPrice", value = "最高价")
    private Double maxPrice;

    @ApiModelProperty(name = "minIntegralPrice", value = "最低积分价")
    private Integer minIntegralPrice;

    @ApiModelProperty(name = "maxIntegralPrice", value = "最高积分价")
    private Integer maxIntegralPrice;

    @ApiModelProperty(name = "propertyValId", value = "属性选项值")
    private String[] propertyValId;

    @ApiModelProperty(name = "type", value = "属性值")
    private String type;

    @ApiModelProperty(name = "isHot", value = "是否热卖品（1、热卖，0、非热卖（热门推荐时传））")
    private String isHot;

    @ApiModelProperty(name = "sellerId", value = "卖家ID(店铺时传)")
    private String sellerId;

    @ApiModelProperty(name = "catId", value = "分类ID(分类时传)")
    private String catId;

    /**
     * 商品类型（0：普通 1：积分商品）
     */
    @ApiModelProperty(name = "itemType", value = "商品类型（0：普通 1：积分商品）")
    private Integer itemType;

    /**
     * 是否可分销（0：不可 1：可以 默认 0）
     */
    @ApiModelProperty(name = "isDistribution", value = "是否可分销（0：不可 1：可以 默认 0）")
    private Integer isDistribution;

    /**
     * 商品来源(0:平台 1:商家)
     */
    @ApiModelProperty(name = "itemSource", value = "商品来源(0:平台 1:商家)")
    private Integer itemSource;

    /**
     * 运费
     */
    @ApiModelProperty(name = "freight", value = "运费")
    private Double freight;

    /**
     * 自定义编号
     */
    @ApiModelProperty(name = "serialNumber", value = "自定义编号")
    private String serialNumber;
}
